#pragma once
#include<iostream>
#include<cstdio>

class ListNode
{
private:int val;
public:ListNode* next;

public:ListNode(int val) : val(val){}

public:ListNode reverseList1(ListNode* head);
public:ListNode reverseList2(ListNode* head);
public:int print();

};

